import Depart from "@/views/rightsmanagement/Department.vue";
import UserManage from "@/views/rightsmanagement/UserManage.vue";
import ResourceManage from "@/views/rightsmanagement/ResourceManage.vue";
import RoleManage from "@/views/rightsmanagement/RoleManage.vue";
import RolesAndResManage from "@/views/rightsmanagement/RolesAndResManage.vue";
let rightsmanagement = [
  {
    path: "rights/depart",
    name: "DepartMent",
    component: Depart,
    meta: [
      {
        title: "贷鱼金服-部门管理",
        prev: "权限管理",
        cur: "部门管理",
        auth: true
      }
    ]
  },
  {
    path: "rights/usermanage",
    name: "Usermanage",
    component: UserManage,
    meta: [
      {
        title: "贷鱼金服-部门管理",
        prev: "权限管理",
        cur: "用户管理",
        auth: true
      }
    ]
  },
  {
    path: "rights/resource",
    name: "ResouurceManage",
    component: ResourceManage,
    meta: [
      {
        title: "贷鱼金服-资源管理",
        prev: "权限管理",
        cur: "资源管理",
        auth: true
      }
    ]
  },
  {
    path:'rights/role',
    name:'RoleManage',
    component:RoleManage,
    meta:[
      {
        title:'贷鱼金服-角色管理',
        prev:'权限管理',
        cur:'角色管理',
        auth:true,
      }
    ]
  },
  {
    path:'rights/roleandres',
    name:'RolesAndResManage',
    component:RolesAndResManage,
    meta:[
      {
        title:'贷鱼金服-角色和资源管理',
        prev:'权限管理',
        cur:'角色和资源管理',
        auth:true,
      }
    ]
  }
];
export { rightsmanagement };
